package cn.signalpha.modules.shop.vo;

import cn.signalpha.modules.shop.entity.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 商品视图实体类
 *
 * @author suguangjun
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "GoodsVO对象", description = "商品")
public class GoodsVO extends Goods {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "收藏id，大于0就是已收藏")
	private Long favoriteId;

	@ApiModelProperty(value = "商品品牌")
	private GoodsBrand goodsBrand;

	@ApiModelProperty(value = "标签列表")
	private List<GoodsTag> tagList;

	@ApiModelProperty(value = "服务列表")
	private List<GoodsServe> serveList;

	@ApiModelProperty(value = "参与的营销活动")
	private List<PublicityGoodsVO> publicityGoodsList;

	@ApiModelProperty(value = "可用的优惠券")
	private List<Coupon> couponList;
}
